package com.zb.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "search-server")
public interface SearchFeignClient {
    @PostMapping("/search/")
    public Map<String, Object> search(@RequestBody Map<String, String> param) throws Exception;
}
